#ifndef TITTLE_BAR_H
#define TITTLE_BAR_H
#include <QtGui>
#include "SuperApi.h"
#include "FaceBtn.h"

class CTittleBar : public QFrame
{
	Q_OBJECT
public:
	CTittleBar(QWidget* parent=0);
	~CTittleBar(void);

public:
	void SetTittle(QString qsTittle=QString());


protected:
	virtual void paintEvent(QPaintEvent * e);
	void UpdateCtrl();

private:
	QString m_qsTittle;
};

#endif //TITTLE_BAR_H